// pages/member/index.js
var app = getApp();
Page({
  onLoad: function (options) {
    var self = this
    wx.getUserInfo({
      success:function(res){
        self.setData({
          userInfo:res.userInfo
        })
      }
    })
    app.editTabBar3();
  },
  onShow:function(){
    var self = this
  },
  showOrder:function(e){
  	var type = e.currentTarget.dataset.type
    wx.redirectTo({
       url: '/pages/order_group/index?id='+type
     })
  },
  showGroupIndex:function(){
    console.log('wjp')
     wx.redirectTo({
       url: '/pages/group/index'
     })
  }
})